import { AppConfig } from '../types/config';
import env from './env';

const appConfig: AppConfig = {
    port: parseInt(env.PORT || '5000', 10),
    env: process.env.NODE_ENV || 'development',
    uploadPath: env.UPLOAD_PATH,
    htmlPath: env.HTML_PATH,
    host: env.HOST,
};

export default appConfig; 